Bookly\Lib\Entities\Notification A

Total Complexity 57
Dependencies 4
Dependents 19
Total lines 650
Lines of code 225
Logical lines of code 81
Comment lines 255
Methods 43
Properties 20

Methods 43

Method Rating Maintainability Complexity Lines of code
save()
S
59 4 14
initTypeIds()
S
56 2 20
initIcons()
S
56 2 19
initTitles()
S
57 2 16
getTypes()
S
61 2 13
matchesItemForStaff()
S
73 2 4
matchesItemForClient()
S
74 2 4
getSettingsObject()
S
71 2 6
getTypeId()
S
71 2 6
getIcon()
S
70 2 6
getTitle()
S
70 2 6
getTypeString()
S
75 2 4
setToCustomer()
S
77 1 4
getMessage()
S
82 1 3
setMessage()
S
77 1 4
getToStaff()
S
82 1 3
setToStaff()
S
77 1 4
getToCustomer()
S
82 1 3
setAttachIcs()
S
77 1 4
getAttachIcs()
S
82 1 3
getSubject()
S
82 1 3
getAttachInvoice()
S
82 1 3
setAttachInvoice()
S
77 1 4
getSettings()
S
82 1 3
setSettings()
S
77 1 4
setSubject()
S
77 1 4
getName()
S
82 1 3
setName()
S
77 1 4
getWpmlName()
S
78 1 3
setCustomRecipients()
S
77 1 4
getCustomRecipients()
S
82 1 3
setToCustom()
S
77 1 4
getToCustom()
S
82 1 3
getTranslatedMessage()
S
77 1 3
getToAdmin()
S
82 1 3
setActive()
S
77 1 4
getActive()
S
82 1 3
setType()
S
77 1 4
getType()
S
82 1 3
setGateway()
S
77 1 4
getGateway()
S
82 1 3
getTranslatedSubject()
S
77 1 3
setToAdmin()
S
77 1 4